-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes issue 756 geoJson namespace error #757
Fixes issue 756 geoJson namespace error #757
Conversation
@@ -1,5 +1,9 @@ | |||
<?php | |||
|
|||
/** | |||
* @reviewer thomas-topway-it for KM-A | |||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not add author or reviewer tags in this repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
$parserOutput->setText( '' ); | ||
return; | ||
} | ||
parent::fillParserOutput( $content, $cpoParams, $parserOutput ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you add this call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is to set the correct parserOutput text by calling the same method in the parent class (JsonContentHandler)
fixes #756
fixes 12 related errors running tests
the content of
fillParserOutput
has been fetched from Mediawiki 1.39.3JsonContentHandler
andSemanticGeoJsonStore -> storeGeoJson
argument contains the encoded raw json.The following block seems to cause the issue